package com.medical.wechat.mapper;

import com.medical.wechat.model.WechatAccount;
import com.medical.wechat.model.WechatMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface WechatAccountMapper {
	
	public void createWechatAccount(WechatAccount account);
	
	public void updateWechatAccountById(WechatAccount account);
	
	public List<WechatAccount> findAll();
	
	public WechatAccount findById(String id);
	
	public void deleteById(String id);
	
	public WechatAccount findByOriginalId(String originalId);
	
	public List<WechatAccount> findByOrganizationId(String organizationId);

	public List<WechatMenu> findByParentId(String parentId);
	
}
